<template>
  <view class="mess">
    {{errorMessage}}
  </view>
</template>

<script>
  export default {
    name: 'Error',
    data() {
      return {
        errorMessage: '',
      };
    },
    onLoad(op) {
      this.errorMessage = op.mess
    }
  };
</script>

<style lang="scss">
  .mess {
    padding: 10px;
    text-align: center;
    font-size: 32rpx;
    background: #f5dc98;
  }
</style>